<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<button onclick="btn()">开奖</button>
		
		<div id="div1">
			
		</div>
		<script src="bck/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			function btn(){
				$.ajax({
					type:"post",
					url:"/prize.php",
					success:function(msg){
						console.log(msg);
						$("#div1").append("<div>"+msg+"</div>");
					}
				});
			}
		</script>
	</body>
</html>
